/*
*  Copyright 2019-2023 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package me.zhengjie.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import cn.hutool.core.bean.BeanUtil;
import io.swagger.annotations.ApiModelProperty;
import cn.hutool.core.bean.copier.CopyOptions;
import me.zhengjie.base.BaseEntity;

import java.sql.Timestamp;
import java.io.Serializable;

/**
* @description /
* @author huangwencong
* @date 2024-10-06
**/
@Data
@TableName("train_fxybdx")
public class TrainFxybdx extends BaseEntity implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "训练ID")
    private Long trainId;

    @ApiModelProperty(value = "训练项目ID")
    private Long trainItemId;

    @ApiModelProperty(value = "平视仪复杂动作判断")
    private Integer psydz;


    @ApiModelProperty(value = "仪表复杂动作判断")
    private Integer ybdz;

    @ApiModelProperty(value = "自由练习")
    private Integer zylx;

    @ApiModelProperty(value = "固定航线飞行")
    private Integer gdhxfx;

    @ApiModelProperty(value = "模拟飞行着陆")
    private Integer mnfxzl;

    @ApiModelProperty(value = "速度表闪现")
    private Integer sdbsx;

    @ApiModelProperty(value = "高度表闪现")
    private Integer gdbsx;

    @ApiModelProperty(value = "平视仪闪现")
    private Integer psysx;

    @ApiModelProperty(value = "地平仪闪现")
    private Integer dpysx;

    @ApiModelProperty(value = "罗盘闪现")
    private Integer lpsx;

    @ApiModelProperty(value = "坚信平视仪_航向误差")
    private Integer jxpsyHxwc;

    @ApiModelProperty(value = "坚信平视仪_高度误差")
    private Integer jxpsyGdwc;

    @ApiModelProperty(value = "坚信平视仪_附加成绩")
    private Integer jxpsyFjcj;

    @ApiModelProperty(value = "坚信平视仪_保持时间")
    private Integer jxpsyBcsj;

    @ApiModelProperty(value = "坚信仪表_航向误差")
    private Integer jxybHxwc;

    @ApiModelProperty(value = "坚信仪表_高度误差")
    private Integer jxybGdwc;

    @ApiModelProperty(value = "坚信仪表_附加成绩")
    private Integer jxybFjcj;

    @ApiModelProperty(value = "坚信仪表_保持时间")
    private Integer jxybBcsj;

    @ApiModelProperty(value = "评定结果")
    private Integer result;

    @ApiModelProperty(value = "记录日期")
    private Timestamp date;

    public void copy(TrainFxybdx source){
        BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
    }
}
